#ifndef USLIDER_H
#define USLIDER_H

#include "utkwidget_export.h"
#include "style/uproxystyle.h"

#include <QSlider>

class UProxyStyle;
class UTKWIDGET_EXPORT USlider : public QSlider
{
    Q_OBJECT
public:
    explicit USlider(QWidget* parent = nullptr);
    explicit USlider(Qt::Orientation orientation, QWidget* parent = nullptr);

protected:
    void mousePressEvent(QMouseEvent* ev) override;

private:
    QScopedPointer<UProxyStyle> m_style;
};

#endif // USLIDER_H
